﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title></title>
     @Styles.Render("~/Content/css")
    <script src="~/Scripts/jquery.min.js"></script>
    <script src="~/Scripts/jquery.hotkeys.min.js"></script>
    <script src="~/Scripts/jaws.js"></script>
    <script src="~/Scripts/jaws-form.js"></script>
    <script src="~/Scripts/jaws-input.js"></script>
    <script type="text/javascript">
        $(function() {
            $("#main-nav").find("a.nav-top-item").bind("click", function() {
                var $this = $(this);
                $("#main-nav").find("a.nav-top-item").removeClass("current");
                $this.addClass("current");
                var $ul = $this.next("ul");
                $("#main-nav").find("ul").hide();
                $ul.show();
            });
        });
    </script>
</head>
<body>
    <div id="body-wrapper">
        <div id="sidebar">
            <div id="sidebar-wrapper">
                <a href="@WebConfig.WebSite" target="_blank"><img id="logo" src="/images/logo2.jpg"></a>
                <div id="profile-links">
                    您好, <a href="#" title="Edit your profile">admin</a>, 你有<a href="#messages" rel="modal" title="3 Messages">3</a>信息<br>
                    <br>
                    <a href="#" title="View the Site">浏览网站</a> | <a href="@Url.DomainRouteUrl(AreasConfig.Admin,"LoginOut","Home")" onclick="return confirm('确定要退出系统吗？');" title="Sign Out">安全退出</a>
                </div>
                <ul id="main-nav">
                    <li>
                        <a href="javascript:void(0)" class="nav-top-item @(ViewBag.Menu == "AdminUser" ? "current" : "")" style="padding-right: 15px;">内部员工管理</a>
                        <ul style="display: @(ViewBag.Menu == "AdminUser" ? "block":"none");">
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, "Index", "AdminUser")" class="@(ViewBag.Menu == "AdminUser" && ViewBag.Tag == "Index" ? "current" : "")">员工列表</a></li>
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, new {action = "Edit", controller = "AdminUser",md="add",page=1,dept=0})" class="@(ViewBag.Menu == "AdminUser" && ViewBag.Tag == "Edit" ? "current" : "")">添加员工</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="javascript:void(0)" class="nav-top-item @(ViewBag.Menu == "User" ? "current" : "")" style="padding-right: 15px;">会员管理</a>
                        <ul style="display: @(ViewBag.Menu == "User" ? "block" : "none");">
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin,"Index","User")" class="@(ViewBag.Menu == "User" && ViewBag.Tag == "Index" ? "current" : "")">会员列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="javascript:void(0)" class="nav-top-item @(ViewBag.Menu == "DayWin" ? "current" : "")" style="padding-right: 15px;">天天赢方案管理</a>
                        <ul style="display: @(ViewBag.Menu == "DayWin" ? "block" : "none");">
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, "Index", "DayWin")" class="@(ViewBag.Menu == "DayWin" &&　ViewBag.Tag == "Index" ? "current" : "")">方案列表</a></li>
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, "RiskMargin", "DayWin")" class="@(ViewBag.Menu == "DayWin" && ViewBag.Tag == "RiskMargin" ? "current" : "")">方案资金列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="javascript:void(0)" class="nav-top-item @(ViewBag.Menu == "WeekWin" ? "current" : "")" style="padding-right: 15px;">周周赢方案管理</a>
                        <ul style="display: @(ViewBag.Menu == "WeekWin" ? "block" : "none");">
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, "Index", "WeekWin")" class="@(ViewBag.Menu == "WeekWin" && ViewBag.Tag == "Index" ? "current" : "")">方案列表</a></li>
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, "RiskMargin", "WeekWin")" class="@(ViewBag.Menu == "WeekWin" && ViewBag.Tag == "RiskMargin" ? "current" : "")">方案资金列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="javascript:void(0)" class="nav-top-item @(ViewBag.Menu == "Stock" ? "current" : "")" style="padding-right: 15px;">股票配资方案管理</a>
                        <ul style="display: @(ViewBag.Menu == "Stock" ? "block" : "none");">
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, "Index", "Stock")" class="@(ViewBag.Menu == "Stock" && ViewBag.Tag == "Index" ? "current" : "")">方案列表</a></li>
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, "RiskMargin", "Stock")" class="@(ViewBag.Menu == "Stock" && ViewBag.Tag == "RiskMargin" ? "current" : "")">方案资金列表</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="javascript:void(0)" class="nav-top-item @(ViewBag.Menu == "News" ? "current" : "")" style="padding-right: 15px;">资讯管理</a>
                        <ul style="display: @(ViewBag.Menu == "News" ? "block" : "none");">
                            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin,"Index","News")" class="@(ViewBag.Menu == "News" && ViewBag.Tag == "Index" ? "current" : "")">资讯列表</a></li>
                            <li><a href="#" class="@(ViewBag.Menu == "News" && ViewBag.Tag == "Edit" ? "current" : "")">添加资讯</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="javascript:void(0)" class="nav-top-item @(ViewBag.Menu == "RolePower" ? "current" : "")" style="padding-right: 15px;">权限设置</a>
                        <ul style="display: @(ViewBag.Menu == "RolePower" ? "block" : "none");">
                            <li><a href="#">角色管理</a></li>
                            <li><a href="#">分配权限</a></li>
                        </ul>
                    </li>
                </ul>
                <div id="messages" style="display: none">
                    <h3>3 Messages</h3>
                    <p>
                        <strong>17th May 2009</strong> by Admin<br>
                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
                    </p>
                    <p>
                        <strong>2nd May 2009</strong> by Jane Doe<br>
                        Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
                    </p>
                    <p>
                        <strong>25th April 2009</strong> by Admin<br>
                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
                    </p>
                    <form action="#" method="post">
                        <h4>New Message</h4>
                        <fieldset>
                            <textarea class="textarea" name="textfield" cols="79" rows="5"></textarea>
                        </fieldset>
                        <fieldset>
                            <select name="dropdown" class="small-input">
                                <option value="option1">Send to...</option>
                                <option value="option2">Everyone</option>
                                <option value="option3">Admin</option>
                                <option value="option4">Jane Doe</option>
                            </select>
                            <input class="button" type="submit" value="Send">
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>
        <div id="main-content">
            @RenderBody()
            <div id="footer">
                <small>
                    © Copyright 2010 Your Company | Powered by <a href="#">admin templates</a> | <a href="#">Top</a>
                </small> <a href="http://www.mycodes.net/" target="_blank">www.mycodes.net</a>
            </div>
        </div>
    </div>
</body>
</html>
